<%@page pageEncoding="UTF-8" isELIgnored="false" session="false"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@taglib prefix="f" uri="http://www.slim3.org/functions"%>
<%@taglib prefix="util" uri="/burubakaUtil"%>

<fmt:bundle basename="application" >
<html>
<head>
<%@ include file="../common/incmypage.jsp"%>
<script type="text/JavaScript">
	$(function(){
<c:choose>
	<c:when test="${openTab != null}" >
	    $('#tabs').tabs();
	    $('#tabs').tabs('select','#${openTab}');
	</c:when>
	<c:otherwise>
	    $('#tabs').tabs();
	</c:otherwise>
</c:choose>
	});
</script>
</head>
<body>
<div class="btnArea"><a href="/top" class="btnBack"></a><a href="${f:h(logoutUrl)}" class="btn btnMiddle" style="float:right;"><span><fmt:message key="btn.logout" /></span></a></div>
<div id="messageArea"><span id="message"></span></div>
<div id="tabs">
	<ul>
		<li><a href="#infomation" id="infomationTab"><fmt:message key="item.mypage.tab1"/></a></li>
		<li><a href="#bet" id="betTab"><fmt:message key="item.mypage.tab2"/></a></li>
		<li><a href="#result" id="resultTab"><fmt:message key="item.mypage.tab3"/></a></li>
		<li><a href="#template" id="templateTab"><fmt:message key="item.mypage.tab4"/></a></li>
	</ul>
	<div id="infomation"><%@ include file="incTipster.jsp"%></div>
	<div id="bet"><%@ include file="incBet.jsp"%></div>
	<div id="result"><%@ include file="incTotalResult.jsp"%></div>
	<div id="template"><%@ include file="incBetTemplate.jsp"%></div>
</div>
</body>
</html>
</fmt:bundle>